﻿<Window x:Class="UploadClient.oldSettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:extToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended.Tiny"
        xmlns:local="clr-namespace:UploadClient"
        xmlns:ex="clr-namespace:UploadClient.View"
        Icon="/UploadClient;component/media/spanner_48.ico"
        Title="{local:Localization Key=UPL_0005}" WindowStyle="SingleBorderWindow" ResizeMode="NoResize" Height="143" Width="561" Topmost="True">
    <Window.Resources>
        <ResourceDictionary Source="WindowRessources.xaml"/>
    </Window.Resources>
    <Grid>
        <Label Content="{local:Localization Key=UPL_0016}" Height="23" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label1" VerticalAlignment="Top" Width="69" />
        <Label Content="{local:Localization Key=UPL_0015}" Height="23" HorizontalAlignment="Left" Margin="12,46,0,0" Name="label2" VerticalAlignment="Top" Width="69" />
        <Label Content="{local:Localization Key=UPL_0014}" Height="23" HorizontalAlignment="Left" Margin="252,46,0,0" Name="label3" VerticalAlignment="Top" Width="69" />
        <Label Content="Port" Height="23" HorizontalAlignment="Left" Margin="12,74,0,0" VerticalAlignment="Top" Width="69" />
        
        <extToolkit:ButtonSpinner Spin="ButtonSpinner_Spin" Height="23" HorizontalAlignment="Left" Margin="87,12,0,69" Width="372" IsTabStop="False">
            <extToolkit:WatermarkTextBox Name="HostadressField" VerticalAlignment="Top" DataContext="{Binding}" TabIndex="1" TextChanged="Hostadress_TextChanged">
                <extToolkit:WatermarkTextBox.Watermark>
                    <StackPanel Orientation="Horizontal">
                        <Image Source="/UploadClient;component/media/star_off_48.png" Stretch="Fill" />
                        <TextBlock Text="myDomain.com/uploadFolder" Margin="4,0,0,0" />
                    </StackPanel>
                </extToolkit:WatermarkTextBox.Watermark>
            </extToolkit:WatermarkTextBox>
        </extToolkit:ButtonSpinner>
        <CheckBox Content="{local:Localization Key=UPL_0013}" Height="16" HorizontalAlignment="Left" Margin="327,81,0,0" Name="PassivCheckBox" VerticalAlignment="Top" IsChecked="True" TabIndex="5" />
        <PasswordBox  Height="23" HorizontalAlignment="Left" Margin="327,46,0,0" Name="PasswordField" VerticalAlignment="Top" Width="132" TabIndex="3"/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="87,74,0,0" Name="PortField" VerticalAlignment="Top" Width="64" TabIndex="4" />
        <TextBox Name="UsernameField" Height="23" HorizontalAlignment="Left" Margin="87,46,0,0" VerticalAlignment="Top" Width="132" TabIndex="2"/>
        <Button Height="23" HorizontalAlignment="Left" Margin="465,17,0,0" Name="StarButton" VerticalAlignment="Top" Width="23" SnapsToDevicePixels="True" TabIndex="7" IsTabStop="False" 
                Click="StarButton_Click"
                Style="{DynamicResource starButtonStyle}"
                ToolTip="{local:Localization Key=UPL_0025}"/>
        <Button Height="25" HorizontalAlignment="Left" Margin="494,17,0,0" Name="DeleteButton" VerticalAlignment="Top" Width="25" TabIndex="0" IsTabStop="False"
                Click="DeleteButton_Click" 
                Style="{DynamicResource buttonStyle}"
                ToolTip="{local:Localization Key=UPL_0024}"
                ex:ButtonExtension.DefaultImageSource ="/UploadClient;component/media/cancel_48.png"
                ex:ButtonExtension.MouseOverImageSource="/UploadClient;component/media/cancel_shadow_48.png"
                ex:ButtonExtension.DisabledImageSource="/UploadClient;component/media/cancel_deactivated_48.png"/>
        <Button Content="OK" Margin="478,74,12,7" Name="OkButton" Width="49" TabIndex="6" IsEnabled="False" VerticalAlignment="Center" HorizontalAlignment="Right"
                Click="OkButton_Click"
                Style="{DynamicResource buttonStyle}"
                ToolTip="{local:Localization Key=UPL_0001}" 
                ex:ButtonExtension.DefaultImageSource ="/UploadClient;component/media/box_48.png"
                ex:ButtonExtension.MouseOverImageSource="/UploadClient;component/media/box_download_48.png"
                ex:ButtonExtension.DisabledImageSource="/UploadClient;component/media/box_deactivated_48.png"/>
    </Grid>
</Window>
